package com.lwl.service;


import com.github.pagehelper.PageInfo;
import com.lwl.entity.MyPage;
import com.lwl.entity.TRole;
import com.lwl.entity.Tuser;

import java.util.List;

/**
 * (TRole)表服务接口
 *
 * @author Lei
 * @since 2022-10-22 16:38:50
 */
public interface TRoleService {

    List<TRole> getAll();

    PageInfo queryAllRole(MyPage myPage, Tuser tuser);

    boolean insertRole(TRole tRole);

    boolean queryByRoleName(String rname);

    boolean deleteRole(Integer id);
}
